package com.dp.iot.model;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.math.*;
import java.io.Serializable;
import lombok.Data;
/**
* 代码为自动生成 Created by www.magicalcoder.com
* 如果你改变了此类 read 请将此行删除
* 欢迎加入官方QQ群:323237052
*/
@Data
public class IotOrg implements Serializable{

    private String orgId;//组织ID
    private String orgCode;//组织编码
    private String orgName;//组织名称
    private String parentorgId;//父组织ID
    private String orgStatus;//组织状态1可用 0停用
    private String orgType;//组织类型
    private Integer orgLevel;//组织层级
    private String orgCountry;//国家
    private String orgProvince;//省份
    private String orgCity;//市
    private String orgLongItude;//经度
    private String orgDimension;//纬度
    private Integer orgSerialNum;//顺序号
    private String remarks;//备注
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp creationTime;//创建时间
    private String creationUser;//创建人
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp updateTime;//更新时间
    private String updateUser;//更新人
    private String spare1;//备用1
    private String spare2;//备用2
    private String spare3;//备用3


    public String getOrgId(){
        return orgId;
    }
    public void setOrgId(String orgId){
        this.orgId = orgId;
    }

    public String getOrgCode(){
        return orgCode;
    }
    public void setOrgCode(String orgCode){
        this.orgCode = orgCode;
    }

    public String getOrgName(){
        return orgName;
    }
    public void setOrgName(String orgName){
        this.orgName = orgName;
    }

    public String getParentorgId(){
        return parentorgId;
    }
    public void setParentorgId(String parentorgId){
        this.parentorgId = parentorgId;
    }

    public String getOrgStatus(){
        return orgStatus;
    }
    public void setOrgStatus(String orgStatus){
        this.orgStatus = orgStatus;
    }

    public String getOrgType(){
        return orgType;
    }
    public void setOrgType(String orgType){
        this.orgType = orgType;
    }

    public Integer getOrgLevel(){
        return orgLevel;
    }
    public void setOrgLevel(Integer orgLevel){
        this.orgLevel = orgLevel;
    }

    public String getOrgCountry(){
        return orgCountry;
    }
    public void setOrgCountry(String orgCountry){
        this.orgCountry = orgCountry;
    }

    public String getOrgProvince(){
        return orgProvince;
    }
    public void setOrgProvince(String orgProvince){
        this.orgProvince = orgProvince;
    }

    public String getOrgCity(){
        return orgCity;
    }
    public void setOrgCity(String orgCity){
        this.orgCity = orgCity;
    }

    public String getOrgLongItude(){
        return orgLongItude;
    }
    public void setOrgLongItude(String orgLongItude){
        this.orgLongItude = orgLongItude;
    }

    public String getOrgDimension(){
        return orgDimension;
    }
    public void setOrgDimension(String orgDimension){
        this.orgDimension = orgDimension;
    }

    public Integer getOrgSerialNum(){
        return orgSerialNum;
    }
    public void setOrgSerialNum(Integer orgSerialNum){
        this.orgSerialNum = orgSerialNum;
    }

    public String getRemarks(){
        return remarks;
    }
    public void setRemarks(String remarks){
        this.remarks = remarks;
    }

    public Timestamp getCreationTime(){
        return creationTime;
    }
    public void setCreationTime(Timestamp creationTime){
        this.creationTime = creationTime;
    }

    public String getCreationUser(){
        return creationUser;
    }
    public void setCreationUser(String creationUser){
        this.creationUser = creationUser;
    }

    public Timestamp getUpdateTime(){
        return updateTime;
    }
    public void setUpdateTime(Timestamp updateTime){
        this.updateTime = updateTime;
    }

    public String getUpdateUser(){
        return updateUser;
    }
    public void setUpdateUser(String updateUser){
        this.updateUser = updateUser;
    }

    public String getSpare1(){
        return spare1;
    }
    public void setSpare1(String spare1){
        this.spare1 = spare1;
    }

    public String getSpare2(){
        return spare2;
    }
    public void setSpare2(String spare2){
        this.spare2 = spare2;
    }

    public String getSpare3(){
        return spare3;
    }
    public void setSpare3(String spare3){
        this.spare3 = spare3;
    }
}
